package com.jvm;

public class StackOverFlowTest {
    //JVM设置
    //-Xss 128K,  -Xss默认1M
    static  int count = 0;
    public static void redo (){
        count ++;
        redo();
    }

    public static void main(String[] args) {
        try {
            redo();
        }catch (Throwable e){
            e.printStackTrace();
            System.out.println("输出："+count);
        }
    }
}
